﻿<Activity mc:Ignorable="sap sap2010 sads" x:Class="Demos.StateMachine.Pouet" sap2010:ExpressionActivityEditor.ExpressionActivityEditor="C#" sap2010:WorkflowViewState.IdRef="Demos.StateMachine.Workflow1_1"
 xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities"
 xmlns:av="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 xmlns:mca="clr-namespace:Microsoft.CSharp.Activities;assembly=System.Activities"
 xmlns:sads="http://schemas.microsoft.com/netfx/2010/xaml/activities/debugger"
 xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation"
 xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation"
 xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib"
 xmlns:sco="clr-namespace:System.Collections.ObjectModel;assembly=mscorlib"
 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <TextExpression.NamespacesForImplementation>
    <sco:Collection x:TypeArguments="x:String">
      <x:String>System</x:String>
      <x:String>System.Collections.Generic</x:String>
      <x:String>System.Data</x:String>
      <x:String>System.Linq</x:String>
      <x:String>System.Text</x:String>
    </sco:Collection>
  </TextExpression.NamespacesForImplementation>
  <TextExpression.ReferencesForImplementation>
    <sco:Collection x:TypeArguments="AssemblyReference">
      <AssemblyReference>Microsoft.CSharp</AssemblyReference>
      <AssemblyReference>System</AssemblyReference>
      <AssemblyReference>System.Activities</AssemblyReference>
      <AssemblyReference>System.Core</AssemblyReference>
      <AssemblyReference>System.Data</AssemblyReference>
      <AssemblyReference>System.Runtime.Serialization</AssemblyReference>
      <AssemblyReference>System.ServiceModel</AssemblyReference>
      <AssemblyReference>System.ServiceModel.Activities</AssemblyReference>
      <AssemblyReference>System.Xaml</AssemblyReference>
      <AssemblyReference>System.Xml</AssemblyReference>
      <AssemblyReference>System.Xml.Linq</AssemblyReference>
      <AssemblyReference>mscorlib</AssemblyReference>
      <AssemblyReference>Demos.StateMachine</AssemblyReference>
    </sco:Collection>
  </TextExpression.ReferencesForImplementation>
  <StateMachine sap2010:WorkflowViewState.IdRef="StateMachine_1">
    <StateMachine.InitialState>
      <State x:Name="__ReferenceID1" DisplayName="State1" sap2010:WorkflowViewState.IdRef="State_4">
        <State.Entry>
          <Sequence sap2010:WorkflowViewState.IdRef="Sequence_3">
            <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_1" Text="State 1 Entry" />
            <Delay Duration="00:00:03" sap2010:WorkflowViewState.IdRef="Delay_6" />
            <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_7" Text="State 1 Do" />
          </Sequence>
        </State.Entry>
        <State.Exit>
          <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_2" Text="State 1 Exit" />
        </State.Exit>
        <State.Transitions>
          <Transition DisplayName="T1" sap2010:WorkflowViewState.IdRef="Transition_6">
            <Transition.Trigger>
              <Sequence sap2010:WorkflowViewState.IdRef="Sequence_1">
                <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_5" Text="T1 Trigger Start" />
                <Delay sap2010:WorkflowViewState.IdRef="Delay_5">
                  <InArgument x:TypeArguments="x:TimeSpan">
                    <mca:CSharpValue x:TypeArguments="x:TimeSpan">TempoTigger1</mca:CSharpValue>
                  </InArgument>
                </Delay>
                <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_6" Text="T1 Trigger End" />
              </Sequence>
            </Transition.Trigger>
            <Transition.To>
              <State x:Name="__ReferenceID0" DisplayName="FinalState" sap2010:WorkflowViewState.IdRef="State_3" IsFinal="True">
                <State.Entry>
                  <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_3" Text="FinalState" />
                </State.Entry>
              </State>
            </Transition.To>
            <Transition.Action>
              <Sequence sap2010:WorkflowViewState.IdRef="Sequence_4">
                <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_4" Text="T1 Action Start" />
                <Delay Duration="00:00:05" sap2010:WorkflowViewState.IdRef="Delay_7" />
                <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_11" Text="T1 Action End" />
              </Sequence>
            </Transition.Action>
          </Transition>
          <Transition DisplayName="T2" sap2010:WorkflowViewState.IdRef="Transition_7">
            <Transition.Trigger>
              <Sequence sap2010:WorkflowViewState.IdRef="Sequence_5">
                <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_8" Text="T2 Trigger Start" />
                <Delay sap2010:WorkflowViewState.IdRef="Delay_8">
                  <InArgument x:TypeArguments="x:TimeSpan">
                    <mca:CSharpValue x:TypeArguments="x:TimeSpan">TempoTigger2</mca:CSharpValue>
                  </InArgument>
                </Delay>
                <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_9" Text="T2 Trigger End" />
              </Sequence>
            </Transition.Trigger>
            <Transition.To>
              <x:Reference>__ReferenceID0</x:Reference>
            </Transition.To>
            <Transition.Action>
              <Sequence sap2010:WorkflowViewState.IdRef="Sequence_6">
                <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_12" Text="T2 Action Start" />
                <Delay Duration="00:00:05" sap2010:WorkflowViewState.IdRef="Delay_9" />
                <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_13" Text="T2 Action End" />
              </Sequence>
            </Transition.Action>
            <Transition.Condition>False</Transition.Condition>
          </Transition>
        </State.Transitions>
      </State>
    </StateMachine.InitialState>
    <x:Reference>__ReferenceID1</x:Reference>
    <x:Reference>__ReferenceID0</x:Reference>
    <StateMachine.Variables>
      <Variable x:TypeArguments="x:TimeSpan" Default="00:00:11" Name="TempoTigger1" />
      <Variable x:TypeArguments="x:TimeSpan" Default="00:00:01" Name="TempoTigger2" />
    </StateMachine.Variables>
    <sads:DebugSymbol.Symbol>d1REOlxQcm9qZWN0c1xNYWdlbGlhXDAyIFN0YXRlTWFjaGluZVxEZW1vcy5TdGF0ZU1hY2hpbmVcRGVtb3MuU3RhdGVNYWNoaW5lXFBvdWV0LnhhbWwtJgNxEgIBAW02bUACATNuNm5AAgEyKAdoDwIBBkEPRRcCAQIqCy4WAgErMQsxWgIBKTYPPhoCASBID0waAgEZUQ9ZGgIBEGUjZSgCAQ9fD2MaAgEIQxNDYAIBBCsNK10CATAsDSxUAgEuLQ0tWgIBLDFJMVcCASo3ETdkAgEnOBE8GQIBIz0RPWICASFJEUljAgEeShFKWAIBHEsRS2ICARpSEVJkAgEXUxFXGQIBE1gRWGICARFgEWBkAgENYRFhWAIBC2IRYmICAQlDUUNdAgEFK0srWgIBMSwdLCcCAS8tSy1XAgEtN083YQIBKDoVOmECASQ9Tz1fAgEiSU9JYAIBH0ohSisCAR1LUEtfAgEbUk9SYQIBGFUVVWECARRYT1hfAgESYFBgYQIBDmEhYSsCAQxiUGJfAgEK</sads:DebugSymbol.Symbol>
  </StateMachine>
  <sap2010:WorkflowViewState.ViewStateManager>
    <sap2010:ViewStateManager>
      <sap2010:ViewStateData Id="WriteLine_1" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="Delay_6" sap:VirtualizedContainerService.HintSize="211,22" />
      <sap2010:ViewStateData Id="WriteLine_7" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="Sequence_3" sap:VirtualizedContainerService.HintSize="233,350">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteLine_2" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="WriteLine_5" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="Delay_5" sap:VirtualizedContainerService.HintSize="211,22" />
      <sap2010:ViewStateData Id="WriteLine_6" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="Sequence_1" sap:VirtualizedContainerService.HintSize="233,350">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteLine_3" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="State_3" sap:VirtualizedContainerService.HintSize="114,61">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <av:Point x:Key="ShapeLocation">243,269.5</av:Point>
            <av:Size x:Key="ShapeSize">114,61</av:Size>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteLine_4" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="Delay_7" sap:VirtualizedContainerService.HintSize="211,22" />
      <sap2010:ViewStateData Id="WriteLine_11" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="Sequence_4" sap:VirtualizedContainerService.HintSize="233,350">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Transition_6" sap:VirtualizedContainerService.HintSize="430,1039">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <av:PointCollection x:Key="ConnectorLocation">300,188.5 300,269.5</av:PointCollection>
            <x:Int32 x:Key="SrcConnectionPointIndex">39</x:Int32>
            <x:Int32 x:Key="DestConnectionPointIndex">38</x:Int32>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteLine_8" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="Delay_8" sap:VirtualizedContainerService.HintSize="211,22" />
      <sap2010:ViewStateData Id="WriteLine_9" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="Sequence_5" sap:VirtualizedContainerService.HintSize="233,350">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteLine_12" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="Delay_9" sap:VirtualizedContainerService.HintSize="211,22" />
      <sap2010:ViewStateData Id="WriteLine_13" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="Sequence_6" sap:VirtualizedContainerService.HintSize="233,350">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Transition_7" sap:VirtualizedContainerService.HintSize="430,1039">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <av:PointCollection x:Key="ConnectorLocation">357,151.9 387,151.9 387,303.05 357,303.05</av:PointCollection>
            <x:Int32 x:Key="SrcConnectionPointIndex">28</x:Int32>
            <x:Int32 x:Key="DestConnectionPointIndex">40</x:Int32>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="State_4" sap:VirtualizedContainerService.HintSize="114,61">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <av:Point x:Key="ShapeLocation">243,127.5</av:Point>
            <av:Size x:Key="ShapeSize">114,61</av:Size>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="StateMachine_1" sap:VirtualizedContainerService.HintSize="614,636">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <av:Point x:Key="ShapeLocation">270,2.5</av:Point>
            <x:Double x:Key="StateContainerWidth">600</x:Double>
            <x:Double x:Key="StateContainerHeight">600</x:Double>
            <av:PointCollection x:Key="ConnectorLocation">300,77.5 300,127.5</av:PointCollection>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Demos.StateMachine.Workflow1_1" sap:VirtualizedContainerService.HintSize="654,716" />
    </sap2010:ViewStateManager>
  </sap2010:WorkflowViewState.ViewStateManager>
</Activity>